package com.ruoyi.sycs.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试验数据设置明细-钢筋截面积、重量业务对象 sycs_data_detail_gj
 *
 * @author tll
 * @date 2024-08-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SycsDataDetailGjBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long deId;

    /**
     * 试验类型id
     */
    @NotNull(message = "试验类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long syTypeId;

    /**
     * 公称直径mm
     */
    @NotBlank(message = "公称直径mm不能为空", groups = { AddGroup.class, EditGroup.class })
    private String diameter;

    /**
     * 公称横截面面积mm²
     */
    @NotBlank(message = "公称横截面面积mm²不能为空", groups = { AddGroup.class, EditGroup.class })
    private String area;

    /**
     * 理论重量kg/m
     */
    @NotBlank(message = "理论重量kg/m不能为空", groups = { AddGroup.class, EditGroup.class })
    private String weight;


}
